package com.bijava.entity;

/**
 * Created by ljj on 2018/6/4.
 */
public class Column {

    private String tableName;
    private String columnName;
    private Long maxNum;
    private String sqlType;
    private String javaColumName;
    private String javaType;
    private String isPK="false";
    private String comment;
    private Integer dataScale;
    public Column() {
    }

    public Column(String tableName) {
        this.tableName = tableName;
    }

    public Long getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(Long maxNum) {
        this.maxNum = maxNum;
    }

    public Integer getDataScale() {
        return dataScale;
    }

    public void setDataScale(Integer dataScale) {
        this.dataScale = dataScale;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }


    public String getSqlType() {
        return sqlType;
    }

    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }


    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getIsPK() {
        return isPK;
    }

    public void setIsPK(String isPK) {
        this.isPK = isPK;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getJavaColumName() {
        return javaColumName;
    }

    public void setJavaColumName(String javaColumName) {
        this.javaColumName = javaColumName;
    }



    @Override
    public String toString() {
        return "Column{" +
                "tableName='" + tableName + '\'' +
                ", columnName='" + columnName + '\'' +
                ", maxNum='" + maxNum + '\'' +
                ", sqlType='" + sqlType + '\'' +
                ", javaColumName='" + javaColumName + '\'' +
                ", JavaType='" + javaType + '\'' +
                ", isPK=" + isPK +
                ", comment='" + comment + '\'' +
                '}';
    }
}
